package org.spring.springboot.app.adv.advcombinfo.service;

import org.spring.springboot.app.adv.advcombhard.domain.po.AdvCombHardPO;
import org.spring.springboot.app.adv.advcombinfo.domain.po.AdvCombInfoPO;
import org.spring.springboot.app.adv.advcombinfo.domain.vo.AdvCombInfoSaveInVO;
import org.spring.springboot.app.adv.advcombinfo.domain.vo.AdvCombInfoSearchVO;
import org.spring.springboot.app.base.R;

import java.util.List;

public interface IAdvCombInfoService {

    AdvCombInfoPO find(String id);

    List<AdvCombInfoPO> findPage(AdvCombInfoSearchVO searchVO, int pageNum, int pageSize);

    /**
     * 查看所有机构信息
     * @return
     */
    List<AdvCombInfoPO> findAll(AdvCombInfoSearchVO searchVO);

    /**
     * @param vo
     * @return
     */
    R save(AdvCombInfoSaveInVO vo);

    /**
     * @param vo
     * @return
     */
    R update(AdvCombInfoSaveInVO vo);

    /**
     * @param po
     * @return
     */
    int delete(AdvCombInfoPO po);

    List<AdvCombHardPO> queryHardList(String combId);

    int queryHardCount(String combId);

    List<AdvCombHardPO> queryInCombHardList(String hardIds);
}
